@extends('layouts.public')
@section('content')

@if (Session::has('error'))
   {{ Session::get('error') }}
   <br /><br />
@endif

 {{ Form::open(array('url' => '/', 'method' => 'post')) }}
<div class="row">
    <div class="large-12 columns">
 {{ Form::label('email', 'e-mail address') }}
{{ Form::text('email', Input::old('email')) }}
  </div>
</div>

<div class="row">
    <div class="large-12 columns">
 {{ Form::label('password', 'password') }}
 {{ Form::password('password') }}
  </div>
</div>

<div class="row">
    <div class="large-12 columns">
 {{ Form::submit('login', array ('class'=>'button')) }}
    </div>
</div>

 {{ Form::close() }}

<br /><br />-- OR --<br /><br />
<a href="/signup">signup for an account</a>

@stop
